window.addEvent('domready', function() {
	var scroll = new Fx.Scroll(window,{duration: 1000, transition: Fx.Transitions.Cubic.easeInOut});
 
	$('top').addEvent('click',function(event) {
		event = new Event(event).stop();
		scroll.toElement('header');
	});
	
	$('nav-comic').addEvent('click',function(event) {
		event = new Event(event).stop();
		scroll.toElement('comic');
	});
 
	$('nav-blog').addEvent('click',function(event) {
		event = new Event(event).stop();
		scroll.toElement('blog');
	});
	
	$('nav-work').addEvent('click',function(event) {
		event = new Event(event).stop();
		scroll.toElement('work');
	});
	
	$('nav-ego').addEvent('click',function(event) {
		event = new Event(event).stop();
		scroll.toElement('ego');
	});
	
});

function urchinTracker(id) {

}